home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Q-R / Q&A.cpt / Cosmology / background_2623.txt < prev    next >
Text File  |  1987-12-01  |  9KB  |  389 lines

  1. -- background: 2623 from stack: in
  2. -- bmap block id: 3721
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openBackground
  8.   push recent card
  9. end openBackground
  10.  
  11.  
  12. -- part 11 (button)
  13. -- low flags: 00
  14. -- high flags: 0000
  15. -- rect: left=41 top=299 right=328 bottom=73
  16. -- title width / last selected line: 0
  17. -- icon id / first selected line: 21700 / 21700
  18. -- text alignment: 1
  19. -- font id: 0
  20. -- text size: 12
  21. -- style flags: 0
  22. -- line height: 16
  23. -- part name: Home
  24. ----- HyperTalk script -----
  25. on mouseUp
  26.   visual effect iris open
  27.   go Home
  28. end mouseUp
  29.  
  30.  
  31.  
  32. -- part 13 (field)
  33. -- low flags: 01
  34. -- high flags: 0000
  35. -- rect: left=77 top=50 right=115 bottom=474
  36. -- title width / last selected line: 0
  37. -- icon id / first selected line: 0 / 0
  38. -- text alignment: 0
  39. -- font id: 2
  40. -- text size: 10
  41. -- style flags: 0
  42. -- line height: 13
  43. -- part name: theQuestion
  44.  
  45.  
  46. -- part 14 (field)
  47. -- low flags: 01
  48. -- high flags: 0000
  49. -- rect: left=77 top=121 right=154 bottom=472
  50. -- title width / last selected line: 0
  51. -- icon id / first selected line: 0 / 0
  52. -- text alignment: 0
  53. -- font id: 2
  54. -- text size: 10
  55. -- style flags: 0
  56. -- line height: 13
  57. -- part name: answer1
  58. ----- HyperTalk script -----
  59. on mouseUp
  60.   global response
  61.   put 1 into response
  62.   process
  63. end mouseUp
  64.  
  65.  
  66.  
  67.  
  68. -- part 15 (field)
  69. -- low flags: 01
  70. -- high flags: 0000
  71. -- rect: left=77 top=155 right=187 bottom=472
  72. -- title width / last selected line: 0
  73. -- icon id / first selected line: 0 / 0
  74. -- text alignment: 0
  75. -- font id: 2
  76. -- text size: 10
  77. -- style flags: 0
  78. -- line height: 13
  79. -- part name: answer2
  80. ----- HyperTalk script -----
  81. on mouseUp
  82.   global response
  83.   put 2 into response
  84.   process
  85. end mouseUp
  86.  
  87.  
  88.  
  89. -- part 16 (field)
  90. -- low flags: 01
  91. -- high flags: 0000
  92. -- rect: left=77 top=188 right=220 bottom=472
  93. -- title width / last selected line: 0
  94. -- icon id / first selected line: 0 / 0
  95. -- text alignment: 0
  96. -- font id: 2
  97. -- text size: 10
  98. -- style flags: 0
  99. -- line height: 13
  100. -- part name: answer3
  101. ----- HyperTalk script -----
  102. on mouseUp
  103.   global response
  104.   put 3 into response
  105.   process
  106. end mouseUp
  107.  
  108.  
  109.  
  110. -- part 17 (field)
  111. -- low flags: 01
  112. -- high flags: 0000
  113. -- rect: left=77 top=221 right=254 bottom=472
  114. -- title width / last selected line: 0
  115. -- icon id / first selected line: 0 / 0
  116. -- text alignment: 0
  117. -- font id: 2
  118. -- text size: 10
  119. -- style flags: 0
  120. -- line height: 13
  121. -- part name: answer4
  122. ----- HyperTalk script -----
  123. on mouseUp
  124.   global response
  125.   put 4 into response
  126.   process
  127. end mouseUp
  128.  
  129.  
  130.  
  131. -- part 35 (field)
  132. -- low flags: 01
  133. -- high flags: 0000
  134. -- rect: left=77 top=255 right=288 bottom=472
  135. -- title width / last selected line: 0
  136. -- icon id / first selected line: 0 / 0
  137. -- text alignment: 0
  138. -- font id: 2
  139. -- text size: 10
  140. -- style flags: 0
  141. -- line height: 13
  142. -- part name: answer5
  143. ----- HyperTalk script -----
  144. on mouseUp
  145.   global response
  146.   put 5 into response
  147.   process
  148. end mouseUp
  149.  
  150.  
  151.  
  152. -- part 25 (field)
  153. -- low flags: 00
  154. -- high flags: 0000
  155. -- rect: left=127 top=294 right=310 bottom=147
  156. -- title width / last selected line: 0
  157. -- icon id / first selected line: 0 / 0
  158. -- text alignment: 0
  159. -- font id: 3
  160. -- text size: 12
  161. -- style flags: 0
  162. -- line height: 16
  163. -- part name: correctanswer
  164.  
  165.  
  166. -- part 26 (button)
  167. -- low flags: 80
  168. -- high flags: 0000
  169. -- rect: left=406 top=293 right=327 bottom=441
  170. -- title width / last selected line: 0
  171. -- icon id / first selected line: 1020 / 1020
  172. -- text alignment: 1
  173. -- font id: 0
  174. -- text size: 12
  175. -- style flags: 0
  176. -- line height: 16
  177. -- part name: Help
  178. ----- HyperTalk script -----
  179. on mouseUp
  180.   if background field "why" is empty then
  181.     put "Sorry, no explanation for this question as been entered." into background field "why"
  182.   end if
  183.   if visible of background field "why" = false then
  184.     if background field "why" is empty then
  185.       put "Sorry, no explination for this question as been entered."
  186.       into background field "why"
  187.     end if
  188.     show background field "why"
  189.   else
  190.     hide background field "why"
  191.   end if
  192. end mouseUp
  193.  
  194.  
  195. -- part 28 (field)
  196. -- low flags: 01
  197. -- high flags: 0001
  198. -- rect: left=214 top=15 right=43 bottom=333
  199. -- title width / last selected line: 0
  200. -- icon id / first selected line: 0 / 0
  201. -- text alignment: 0
  202. -- font id: 3
  203. -- text size: 12
  204. -- style flags: 0
  205. -- line height: 16
  206. -- part name: reviewmask
  207.  
  208.  
  209. -- part 27 (field)
  210. -- low flags: 81
  211. -- high flags: 0004
  212. -- rect: left=77 top=121 right=289 bottom=476
  213. -- title width / last selected line: 0
  214. -- icon id / first selected line: 0 / 0
  215. -- text alignment: 0
  216. -- font id: 20
  217. -- text size: 14
  218. -- style flags: 0
  219. -- line height: 18
  220. -- part name: why
  221. ----- HyperTalk script -----
  222. on mouseUp
  223.   hide background field "why"
  224. end mouseUp
  225.  
  226.  
  227.  
  228. -- part 30 (field)
  229. -- low flags: 01
  230. -- high flags: 0001
  231. -- rect: left=302 top=307 right=324 bottom=328
  232. -- title width / last selected line: 0
  233. -- icon id / first selected line: 0 / 0
  234. -- text alignment: 65535
  235. -- font id: 0
  236. -- text size: 12
  237. -- style flags: 0
  238. -- line height: 16
  239. -- part name: percentcorrect
  240.  
  241.  
  242. -- part 31 (field)
  243. -- low flags: 01
  244. -- high flags: 0001
  245. -- rect: left=218 top=309 right=323 bottom=244
  246. -- title width / last selected line: 0
  247. -- icon id / first selected line: 0 / 0
  248. -- text alignment: 0
  249. -- font id: 3
  250. -- text size: 10
  251. -- style flags: 0
  252. -- line height: 13
  253. -- part name: cardnumber
  254.  
  255.  
  256. -- part 32 (field)
  257. -- low flags: 01
  258. -- high flags: 0000
  259. -- rect: left=258 top=309 right=324 bottom=284
  260. -- title width / last selected line: 0
  261. -- icon id / first selected line: 0 / 0
  262. -- text alignment: 0
  263. -- font id: 3
  264. -- text size: 10
  265. -- style flags: 0
  266. -- line height: 13
  267. -- part name: numberofcards
  268.  
  269.  
  270. -- part 33 (button)
  271. -- low flags: 00
  272. -- high flags: 0000
  273. -- rect: left=479 top=12 right=32 bottom=493
  274. -- title width / last selected line: 0
  275. -- icon id / first selected line: 0 / 0
  276. -- text alignment: 1
  277. -- font id: 0
  278. -- text size: 12
  279. -- style flags: 0
  280. -- line height: 16
  281. -- part name: New Button
  282. ----- HyperTalk script -----
  283. on mouseUp
  284.   if visible of background field "answermask" = true then
  285.     hide background field "answermask"   --  reveals the answers
  286.     set lockText of background field "answer1" to false   -- allow editing
  287.     set lockText of background field "answer2" to false
  288.     set lockText of background field "answer3" to false
  289.     set lockText of background field "answer4" to false
  290.     set lockText of background field "answer5" to false
  291.     set lockText of background field "theQuestion" to false
  292.     set lockText of background field "why" to false
  293.     set visible of background button "help" to true
  294.     show menubar
  295.   else
  296.     show background field "answermask"   --  hides the answers
  297.     set lockText of background field "answer1" to true   -- allow editing
  298.     set lockText of background field "answer2" to true
  299.     set lockText of background field "answer3" to true
  300.     set lockText of background field "answer4" to true
  301.     set lockText of background field "answer5" to true
  302.     set lockText of background field "theQuestion" to true
  303.     set lockText of background field "why" to true
  304.     set visible of background button "help" to false
  305.     hide menubar
  306.   end if
  307. end mouseUp
  308.  
  309.  
  310.  
  311. -- part 39 (button)
  312. -- low flags: 00
  313. -- high flags: 0000
  314. -- rect: left=447 top=291 right=337 bottom=490
  315. -- title width / last selected line: 0
  316. -- icon id / first selected line: 1012 / 1012
  317. -- text alignment: 1
  318. -- font id: 0
  319. -- text size: 12
  320. -- style flags: 0
  321. -- line height: 16
  322. -- part name: Return
  323. ----- HyperTalk script -----
  324. on mouseUp
  325.   go to previous card
  326. end mouseUp
  327.  
  328.  
  329.  
  330. -- part 40 (field)
  331. -- low flags: 81
  332. -- high flags: 0000
  333. -- rect: left=91 top=308 right=322 bottom=119
  334. -- title width / last selected line: 0
  335. -- icon id / first selected line: 0 / 0
  336. -- text alignment: 0
  337. -- font id: 3
  338. -- text size: 9
  339. -- style flags: 0
  340. -- line height: 12
  341. -- part name: got it right
  342.  
  343.  
  344. -- part 29 (field)
  345. -- low flags: 01
  346. -- high flags: 0001
  347. -- rect: left=77 top=291 right=324 bottom=187
  348. -- title width / last selected line: 0
  349. -- icon id / first selected line: 0 / 0
  350. -- text alignment: 0
  351. -- font id: 3
  352. -- text size: 12
  353. -- style flags: 0
  354. -- line height: 16
  355. -- part name: answermask
  356.  
  357.  
  358. -- part 41 (field)
  359. -- low flags: 01
  360. -- high flags: 0001
  361. -- rect: left=442 top=290 right=326 bottom=492
  362. -- title width / last selected line: 0
  363. -- icon id / first selected line: 0 / 0
  364. -- text alignment: 0
  365. -- font id: 3
  366. -- text size: 12
  367. -- style flags: 0
  368. -- line height: 16
  369. -- part name: gobackmask
  370.  
  371.  
  372. -- part 42 (button)
  373. -- low flags: 00
  374. -- high flags: 0000
  375. -- rect: left=41 top=266 right=300 bottom=76
  376. -- title width / last selected line: 0
  377. -- icon id / first selected line: 9761 / 9761
  378. -- text alignment: 1
  379. -- font id: 0
  380. -- text size: 12
  381. -- style flags: 0
  382. -- line height: 16
  383. -- part name: Compass
  384. ----- HyperTalk script -----
  385. on mouseUp
  386.   go to card 2 of Q&A
  387. end mouseUp
  388.  
  389.